<html>
<head>

<title>JSChart</title>

<script type="text/javascript" src="../../../sources/jscharts.js"></script>

</head>
<body>

<div id="graph">Loading graph...</div>

<script type="text/javascript">
	
	var myData = new Array([10, 2], [15, 0], [18, 3], [19, 6], [20, 8.5], [25, 10], [30, 9], [35, 8], [40, 5], [45, 6], [50, 2.5]);
	var myChart = new JSChart('graph', 'line');
	myChart.setDataArray(myData);
	myChart.setAxisNameFontSize(10);
	myChart.setAxisNameX('Horizontal axis values');
	myChart.setAxisNameY('Vertical axis');
	myChart.setAxisNameColor('#787878');
	myChart.setAxisValuesNumberX(6);
	myChart.setAxisValuesNumberY(5);
	myChart.setAxisValuesColor('#38a4d9');
	myChart.setAxisColor('#38a4d9');
	myChart.setLineColor('#C71112');
	myChart.setTitle('A customized chart');
	myChart.setTitleColor('#383838');
	myChart.setGraphExtend(true);
	myChart.setGridColor('#38a4d9');
	myChart.setSize(616, 321);
	myChart.setAxisPaddingLeft(140);
	myChart.setAxisPaddingRight(140);
	myChart.setAxisPaddingTop(60);
	myChart.setAxisPaddingBottom(45);
	myChart.setTextPaddingLeft(105);
	myChart.setTextPaddingBottom(12);
	myChart.setBackgroundImage('chart_bg.jpg');
	myChart.draw();
	
</script>

</body>
</html>